package com.cqjtu.service;

import com.cqjtu.pojo.PageBean;
import com.cqjtu.pojo.Worker;

import java.util.List;

public interface WorkerService {

    //删除工人
    void delete(List<Integer> workerId);



    //新增工人
    void add(Worker worker);

    //工人条件查询
    PageBean page(Integer page, Integer pageSize, String workerName, String teamsName);

    Worker find(Integer workerId);

    void updateWorker(Worker worker);

    PageBean page2(Integer page, Integer pageSize, Integer teamsId);

    PageBean page3(Integer page, Integer pageSize, String workerName, String teamsName);
}
